﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DapperExtensions.Mapper;
using ZLWeb.WebApiEntityBase;

namespace WeChatCardProxy.WebApiEntity
{
    public class Authorization_Config : ResponseResultInfo
    {
        public string Authorization_appid { get; set; }

        public short IsDelete { get; set; }

        public string Authorization_appid_domain { get; set; }

        public short IsStop { get; set; }

        public string Shop_domain { get; set; }

    }

    public class Authorization_ConfigMapper : ClassMapper<Authorization_Config>
    {
        public Authorization_ConfigMapper()
        {
            Table("Authorization_appid_Config");
            Map(f => f.Authorization_appid).Column("Authorization_appid").Key(KeyType.Assigned);
            Map(f => f.IsDelete).Column("IsDelete");
            Map(f => f.Authorization_appid_domain).Column("Authorization_appid_domain");
            Map(f => f.IsStop).Column("IsStop");
            Map(f => f.Shop_domain).Column("Shop_domain");
        }
    }
}
